import request from '@/utils/request'

export function query(data) {
  return request({
    url: `/md/mould/query`,
    method: 'post',
    data: data
  })
}

export function save(data) {
  return request({
    url: `/md/mould/save`,
    method: 'post',
    data: data
  })
}

export function getByBo(bo) {
  return request({
    url: `/md/mould/getByBo?bo=${bo}`,
    method: 'get'
  })
}

export function returnMould(data) {
  return request({
    url: `/md/mould/returnMould`,
    method: 'post',
    data: data
  })
}

export function batchRemove(data) {
  return request({
    url: `/md/mould/batchDelete`,
    method: 'delete',
    data: data
  })
}

